import request from '@/router/axios';

export const getList = (params) => {
  return request({
    url: '/api/xmbz-system/customerremark/list',
    method: 'get',
    params,
  })
}

// 新增
export const saveWord = (data) => {
  return request({
    url: '/api/xmbz-system/customerremark/save',
    method: 'post',
    data,
  })
}

// 修改
export const updateWord = (data) => {
  return request({
    url: '/api/xmbz-system/customerremark/update',
    method: 'post',
    data,
  })
}

// 删除
export const removeWord = (params) => {
  return request({
    url: '/api/xmbz-system/customerremark/remove',
    method: 'post',
    params,
  })
}